package com.zlm.common.constants;

/**
 * 打卡常量
 * @Author: duyufu
 * @Date: 2019/5/27 17:39
 */
public class PunchConstants {

    // 一天时间的时间戳
    public static final Long TIMESTAMP_ONE_DAY = 86400L;
    // 一个小时的时间戳
    public static final Long TIMESTAMP_ONE_HOUR = 3600L;

    public static final int FORWARD_HOUR = 2;

    public static final int BACKWARD_HOUR = 4;
    //默认(不允许打卡)
    public static final int PUNCH_TYPE_0 = 0;
    //上班
    public static final int PUNCH_TYPE_1 = 1;
    //下班
    public static final int PUNCH_TYPE_2 = 2;

    public static final int PUNCH_STATUS_NO_PUNCH_CODE = -1;

    public static final int PUNCH_STATUS_NORMAL = 0;

    public static final int PUNCH_STATUS_EXCEPTION_CODE = 1;

    public static final int PUNCH_TIME_NORMAL = 0;
    //迟到-早退
    public static final int PUNCH_LATE_EXCEPTION = 1;

    public static final String PUNCH_LATE = "迟到";

    public static final String PUNCH_LEAVE_EARLY = "早退";

    public static final int PUNCH_ADDRESS_NORMAL = 0;

    public static final int PUNCH_ADDRESS_EXCEPTION = 1;

    public static final String PUNCH_OUT_ZONE = "范围外";

//    public static final String PUNCH_STATUS_NO_PUNCH = "未打卡";

    public static final String PUNCH_STATUS_NO_WORK_UP = "未签到";

    public static final String PUNCH_STATUS_NO_WORK_OFF = "未签退";

    public static final String PUNCH_STATUS_NORMAL_WORK_UP = "正常签到";

    public static final String PUNCH_STATUS_NORMAL_WORK_OFF = "正常签退";

    public static final String PUNCH_STATUS_EXCEPTION = "异常";

    public static final String WORK_UP = "上班";

    public static final String WORK_OFF = "下班";

    public static final String WORK_UP_TIME = "上班时间";

    public static final String WORK_OFF_TIME = "下班时间";

    public static final String PUNCH_TIME = "打卡时间：";
    //打卡次数
    public static final int PUNCH_TIMES = 2;

    public static final String NO_WORKTIME = "暂无班制";

}
